﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BonjourQuotation.ObjectModel.SetupData
{
    public class SetupDetailsGridBData
    {
        public List<SetupDetailsGridRowBData> Rows;
        public Dictionary<int, string> DetailTypeID { get; set; }
        public int? DetailDetailTypeID { get; set; }
        public string DetailCode { get; set; }
        public string DetailDescription { get; set; }
        public Dictionary<bool, string> Active { get; set; }
        public bool? SelectedActive { get; set; }
        public const int PageCount = 20;
        public int PageNum { get; set; }
    }
    public class SetupDetailsGridRowBData
    {
        public int DetailID { get; set; }
        public int DetailTypeID { get; set; }
        public string DetailCode { get; set; }
        public string DetailDescription { get; set; }
        public Dictionary<int, string> ServiceTypeID { get; set; }
        public int? DetailServiceTypeID { get; set; }
        public bool? TimeFlg { get; set; }
        public bool? VendFlg { get; set; }
        public bool? AddrFlg { get; set; }
        public bool? GuidFlg { get; set; }
        public bool? Active { get; set; }
    }
}
